<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="app-news-create app-inner">
    <h1>创建新闻</h1>
    <form class="container" name="news" ng-submit="goToCreateUser()">
        <div class="row">
            <div class="col-lg-2">
                <label for="">新闻标题：</label>
            </div>
            <div class="col-lg-4">
                <input type="text" id="user_name" name="username" ng-model="data.username" ng-maxlength="12" ng-minlength="6" ng-required="true" placeholder="请输入新闻标题">
            </div>
            <div class="col-lg-6">
                <span class="text-danger" ng-show="">请输入新闻标题</span>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-2">
                <label for="">新闻作者：</label>
            </div>
            <div class="col-lg-4">
                <input type="text" id="" name="" ng-model=""  ng-required="true" placeholder="请输入新闻作者">
            </div>
            <div class="col-lg-6">
                <span class="text-danger" ng-show="">新闻作者是必填的</span>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-2">
                <label for="">新闻内容：</label>
            </div>
            <div class="col-lg-4">
                <textarea placeholder="请输入新闻内容"></textarea>
            </div>
            <div class="col-lg-6">
                <span class="text-danger" ng-show="">必须填写新闻内容</span>
            </div>
        </div>

        <div class="row">
            <div class="col-lg-10 col-lg-offset-2">
                <button type="submit" class="btn btn-success" ng-disabled="news.$invalid">提交</button>
            </div>
        </div>
    </form>
</div>
</body>
</html>